package com.ruoyi.sbgl.sbdb.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备调拨对象 sbgl_sbdb
 *
 * @author huacai
 * @date 2024-09-13
 */
public class Sbdb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备调拨ID */
    @Excel(name = "设备调拨ID", cellType = Excel.ColumnType.NUMERIC, needMerge = true, type = Excel.Type.EXPORT)
    private Integer sbdbId;

    /** 调拨状态 */
    @Excel(name = "调拨状态", width = 20, needMerge = true)
    private String dbZt;

    /** 出库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date ckRq;

    /** 出库人 */
    @Excel(name = "出库人", width = 20, needMerge = true)
    private String ckName;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 设备调拨明细信息 */
    @Excel(name = "调拨明细信息")
    private List<SbdbDbmx> sbdbDbmxList;

    public void setSbdbId(Integer sbdbId)
    {
        this.sbdbId = sbdbId;
    }

    public Integer getSbdbId()
    {
        return sbdbId;
    }
    public void setDbZt(String dbZt)
    {
        this.dbZt = dbZt;
    }

    public String getDbZt()
    {
        return dbZt;
    }
    public void setCkRq(Date ckRq)
    {
        this.ckRq = ckRq;
    }

    public Date getCkRq()
    {
        return ckRq;
    }
    public void setCkName(String ckName)
    {
        this.ckName = ckName;
    }

    public String getCkName()
    {
        return ckName;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public List<SbdbDbmx> getSbdbDbmxList()
    {
        return sbdbDbmxList;
    }

    public void setSbdbDbmxList(List<SbdbDbmx> sbdbDbmxList)
    {
        this.sbdbDbmxList = sbdbDbmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("sbdbId", getSbdbId())
                .append("dbZt", getDbZt())
                .append("ckRq", getCkRq())
                .append("ckName", getCkName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("sbdbDbmxList", getSbdbDbmxList())
                .toString();
    }
}
